SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 55058: Dynamic prompts for a SAS® Stored Process might fail to load and return "access denied," "data source not found," or other permissions-related errors

DetailsHotfixAboutRate It

Dynamic prompts associated with a SAS Stored Process might occasionally fail to load parameter values. In some cases, errors are generated in various log files, which can indicate any of the following:

  • the user has insufficient permissions to access the dynamic prompt data source
  • the prompt data source cannot be found
  • or the data source does not exist.

For example, this error might be found in a web application log file:

ERROR [user-ID]  com.sas.svcs.formvr.server.impl.ColumnValueRetriever - Unable to find 
this data source: /Metadata/Path/To/Datasource/Tablename(Table).

The SAS Pooled Workspace Server, which is often used to run the SQL query to populate the dynamic prompt from the data source, might report one of the following when you try to read the prompt data:

Insufficient authorization
Access denied

If the data source for the prompt points to an external database, the error might be similar to this Oracle example:

ERROR: ORACLE connection error: ORA-01017: invalid username/password; logon denied.

Often, these errors are valid. Permissions for the connecting user are the first thing to check when an "insufficient authorization," "access denied," "logon denied," or "unable to find data source" error is consistently received.

The following resources contain additional information regarding database permissions and considerations when working with SAS Stored Processes:

However, these errors (and others) might occur intermittently even if the dynamic prompt usually works for the same user running the same SAS Stored Process in the same client application. The random nature of the problem suggests that the user who submitted the SAS Stored Process has the necessary access permissions to read the data source and load the prompt values at least some of the time.

One possible cause for intermittent permission-based errors in cases where user permissions appear to be correct is that cached credentials might be incorrectly used to query the data source for the dynamic prompt. This problem is most likely to occur in stored processes with dynamic prompts that are executed in SAS client applications that use a specific method to load dynamic prompts. The list of affected SAS clients includes (but is not limited to) the following:

  • SAS® Customer Intelligence Studio
  • SAS® Information Delivery Portal
  • SAS® Forecast Studio
  • SAS® Enterprise Guide®
  • SAS® Add-In for Microsoft Office.

Click the Hot Fix tab in this note to access the hot fix for this issue.

Important: To avoid the problem of dynamic prompts failing due to cached or incorrect credentials being used for the data source query, all sites that use dynamic prompts with stored processes should apply this ALERT level hot fix.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS Integration Technologiesz/OS9.3 TS1M29.4 TS1M3
Microsoft® Windows® for x649.3 TS1M29.4 TS1M3
Microsoft Windows 8 Enterprise 32-bit9.3 TS1M29.4 TS1M3
Microsoft Windows 8 Enterprise x649.3 TS1M29.4 TS1M3
Microsoft Windows 8 Pro 32-bit9.3 TS1M29.4 TS1M3
Microsoft Windows 8 Pro x649.3 TS1M29.4 TS1M3
Microsoft Windows 8.1 Enterprise 32-bit9.3 TS1M29.4 TS1M3
Microsoft Windows 8.1 Enterprise x649.3 TS1M29.4 TS1M3
Microsoft Windows 8.1 Pro9.3 TS1M29.4 TS1M3
Microsoft Windows 8.1 Pro 32-bit9.3 TS1M29.4 TS1M3
Microsoft Windows Server 2003 Datacenter Edition9.3 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.3 TS1M2
Microsoft Windows Server 2003 Standard Edition9.3 TS1M2
Microsoft Windows Server 2003 for x649.3 TS1M2
Microsoft Windows Server 20089.3 TS1M29.4 TS1M3
Microsoft Windows Server 2008 R29.3 TS1M29.4 TS1M3
Microsoft Windows Server 2008 for x649.3 TS1M29.4 TS1M3
Microsoft Windows Server 2012 Datacenter9.3 TS1M29.4 TS1M3
Microsoft Windows Server 2012 R2 Datacenter9.3 TS1M29.4 TS1M3
Microsoft Windows Server 2012 R2 Std9.3 TS1M29.4 TS1M3
Microsoft Windows Server 2012 Std9.3 TS1M29.4 TS1M3
Microsoft Windows XP Professional9.3 TS1M2
Windows 7 Enterprise 32 bit9.3 TS1M29.4 TS1M3
Windows 7 Enterprise x649.3 TS1M29.4 TS1M3
Windows 7 Home Premium 32 bit9.3 TS1M29.4 TS1M3
Windows 7 Home Premium x649.3 TS1M29.4 TS1M3
Windows 7 Professional 32 bit9.3 TS1M29.4 TS1M3
Windows 7 Professional x649.3 TS1M29.4 TS1M3
Windows 7 Ultimate 32 bit9.3 TS1M29.4 TS1M3
Windows 7 Ultimate x649.3 TS1M29.4 TS1M3
Windows Vista9.3 TS1M2
Windows Vista for x649.3 TS1M2
64-bit Enabled AIX9.3 TS1M29.4 TS1M3
64-bit Enabled HP-UX9.3 TS1M29.4 TS1M3
64-bit Enabled Solaris9.3 TS1M29.4 TS1M3
HP-UX IPF9.3 TS1M29.4 TS1M3
Linux9.3 TS1M29.4 TS1M3
Linux for x649.3 TS1M29.4 TS1M3
Solaris for x649.3 TS1M29.4 TS1M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.